""""
for 临时变量 in 待处理数据集
     循环满足条件时执行的代码
"""
from itertools import count

name = "aaasdadadadsadwgaigdai"
count = 0
for x in name:
    if x == "a":
        count += 1
print(f"一共有{count}个a")